﻿using Anke.SHManage.MSSQLDAL.FixedAssetsDAL;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Anke.SHManage.BLL.FixedAssetsBLL
{
    public class FixedAssetsDictionaryBLL
    {
        /// <summary>
        /// 取所有资产流水
        /// </summary>
        /// <returns></returns>
        public object GetAssetList()
        {
            return new FixedAssetsDictionaryDAL().GetAssetList();
        }

        /// <summary>
        /// 根据分类取资产流水
        /// </summary>
        /// <param name="typeId"></param>
        /// <returns></returns>
        public object GetAssetListByType(string typeId)
        {
            return new FixedAssetsDictionaryDAL().GetAssetListByType(typeId);
        }

        /// <summary>
        /// 取所有资产流水--未报废
        /// 2019-10-21 plq
        /// </summary>
        /// <returns></returns>
        public object GetAssetListNotScrap()
        {
            return new FixedAssetsDictionaryDAL().GetAssetListNotScrap();
        }

        /// <summary>
        /// 根据分类取资产流水---未报废
        ///  2019-10-21 plq
        /// </summary>
        /// <returns></returns>
        public object GetAssetListNotScrapByType(string typeId)
        {
            return new FixedAssetsDictionaryDAL().GetAssetListNotScrapByType(typeId);
        }
    }
}
